from django.conf.urls.defaults import *
from palamut.models import OutputGroup

from django.contrib import admin
admin.autodiscover()

#info_dict = {
#    'queryset': OutputGroup.objects.all(),
#}
#urlpatterns = patterns('',
#   url(r'^mese01/define_outputs/$','django.views.generic.list_detail.object_list', dict(info_dict), name='define_outputs'),
#)

urlpatterns = patterns('mese01.palamut.views',
    url(r'^mese01/$','model_upload',name='model_upload'),
    url(r'^mese01/verify_model/$','verify_model',name='verify_model'),
    url(r'^mese01/define_initial_params/$','define_initial_params',name='define_initial_params'),
    url(r'^mese01/define_time_settings/$','define_time_settings',name='define_time_settings'),
    url(r'^mese01/define_decision_params/$','define_decision_params',name='define_decision_params'),
    url(r'^mese01/define_outputs/$','define_outputs', name='define_outputs'),
    url(r'^mese01/define_new_output_group/$','define_new_output_group',name='define_new_output_group'),
    url(r'^mese01/define_game_management_settings/$','define_game_management_settings',name='define_game_management_settings'),
    url(r'^mese01/access_data/$','access_data',name='access_data'),
    url(r'^mese01/introduce_game/(?P<slug>[^\.^/]+)/$','introduce_game',name='introduce_game'),
    url(r'^mese01/input_initial_values/$','input_initial_values',name='input_initial_values'),
    url(r'^mese01/game_basic/$','game_basic',name='game_basic'),
    url(r'^mese01/game_detailed/$','game_detailed',name='game_detailed'),
    url(r'^mese01/game_results/$','game_results',name='game_results'),

    url(r'^mese01/palamut/show_results/$','show_results',name='show_results'),
    url(r'^mese01/palamut/result_data/$','result_data',name='result_data'),
    url(r'^mese01/palamut/equations/$','equations',name='equations'),

    url(r'^mese01/test/$','test',name='test'),
)

urlpatterns += patterns('',
    (r'^site_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': 'C:/projects/cinar-agaci-01/ari-kovani-01/python-01/tez-01/mese01/palamut/site_media'}),
)
